package com.studentmanage.api.student;

import com.studentmanage.framework.domain.base.Course;
import com.studentmanage.framework.domain.base.Student;
import com.studentmanage.framework.domain.base.StudentExt;
import com.studentmanage.framework.domain.common.response.QueryResult;
import com.studentmanage.framework.domain.common.response.ResponseResult;
import com.studentmanage.framework.domain.base.request.QueryStudentRequest;
import com.studentmanage.framework.domain.common.response.ResponseValue;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;

import java.util.List;

@Api(value = "学生管理",description = "学生管理接口")
public interface StudentControllerApi {
    @ApiOperation("查询学生列表")
    public QueryResult findStudentList(int page, int size, QueryStudentRequest queryStudentRequest);

    @ApiOperation("增加学生")
    public ResponseResult addStudent(Student student);

    @ApiOperation("根据学号查询学生")
    public ResponseValue<Student> findStudentById(String id);

    @ApiOperation("删除学生信息")
    public ResponseResult delStudent(String[] ids);
    @ApiOperation("修改学生信息")
    public ResponseResult editStudent(Student student);
}
